package com.bosssoft.user.permission.center.serve.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RoleUserVO {

    @ApiModelProperty("用户id")
    @JsonSerialize(using= ToStringSerializer.class)
    private  Long id;

    @ApiModelProperty("用户工号")
    @JsonSerialize(using= ToStringSerializer.class)
    private  Long code;

    @ApiModelProperty("用户名")
    @JsonSerialize(using= ToStringSerializer.class)
    private  String name;

    @ApiModelProperty("公司名称")
    @JsonSerialize(using= ToStringSerializer.class)
    private  String  companyName;

    @ApiModelProperty("部门名称")
    @JsonSerialize(using= ToStringSerializer.class)
    private  String departmentName ;

    @ApiModelProperty("此用户和角色的绑定状态")
    private Byte bindStatus;


}
